/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.depoyment.VO;

import br.com.deployment.entities.Determinations;
import br.com.deployment.entities.Executor;
import br.com.deployment.entities.NotaryOffice;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 *
 * @author luciano
 */
public class DeterminationAux implements Serializable{
    
    private List<Determinations> determinations;
    
    private NotaryOffice notaryOffice;
    
    private Date date;
    
    private Executor executor;

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public List<Determinations> getDeterminations() {
        return determinations;
    }

    public void setDeterminations(List<Determinations> determinations) {
        this.determinations = determinations;
    }

    
    

    public Executor getExecutor() {
        return executor;
    }

    public void setExecutor(Executor executor) {
        this.executor = executor;
    }

    public NotaryOffice getNotaryOffice() {
        return notaryOffice;
    }

    public void setNotaryOffice(NotaryOffice notaryOffice) {
        this.notaryOffice = notaryOffice;
    }

    @Override
    public String toString() {
        return "DeterminationAux{" + "determinations=" + determinations + ", notaryOffice=" + notaryOffice + ", date=" + date + ", executor=" + executor + '}';
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final DeterminationAux other = (DeterminationAux) obj;
        if (this.determinations != other.determinations && (this.determinations == null || !this.determinations.equals(other.determinations))) {
            return false;
        }
        if (this.notaryOffice != other.notaryOffice && (this.notaryOffice == null || !this.notaryOffice.equals(other.notaryOffice))) {
            return false;
        }
        if (this.date != other.date && (this.date == null || !this.date.equals(other.date))) {
            return false;
        }
        if (this.executor != other.executor && (this.executor == null || !this.executor.equals(other.executor))) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 3;
        hash = 97 * hash + (this.determinations != null ? this.determinations.hashCode() : 0);
        hash = 97 * hash + (this.notaryOffice != null ? this.notaryOffice.hashCode() : 0);
        hash = 97 * hash + (this.date != null ? this.date.hashCode() : 0);
        hash = 97 * hash + (this.executor != null ? this.executor.hashCode() : 0);
        return hash;
    }

  
    
    
    
    
}
